String.preAllocate

This function serves to allocate before put. This will make less allocations occur while iterating this struct as an OutputRange.

  1. void preAllocate(uint howMuch)
    struct String
    @nogc
    void
    preAllocate
    (
    uint howMuch
    )
  2. void preAllocate(ulong howMuch)

Meta